﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;


namespace Brick
{
    /// <summary>
    /// 客服中心面板
    /// </summary>
    public class HelperPanel : MonoBehaviour
    {
        #region 基本属性
        private Button m_btnHelp;//联系客服按钮
        private Button m_btnReturn;//返回按钮
        private GameObject m_objPanel;//客服中心面板
        #endregion

        private void Awake()
        {          
           this.gameObject.SetActive(false);           
        }

        private void OnClickBtn(Button btn)
        {
            if (btn == m_btnHelp)
            {
                m_objPanel.SetActive(true);
            }
            else if (btn == m_btnReturn)
            {
                m_objPanel.SetActive(false);
            }
        }
    }
}

